package com.xjwn.datasync.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("datasync_log")
public class DatasyncLog extends Model<DatasyncLog> {


   @TableId
   //目标表名
   private String params;
   //主键
   private String pkname;
   //状态 0正常 1报错
   private String status;
   //SQL语句
   private String sql;
   //日志内容
   private String log;
   private String time;
   private String uuid;

}